﻿package com.gengine.keyBoard
{
    import flash.events.*;

    public class KeyEvent extends Event
    {
        public var keyEvent:KeyboardEvent;
        private var _keyData:KeyData;
        public static const KEY_DOWN:String = "key_down";
        public static const KEY_UP:String = "key_up";

        public function KeyEvent(param1:String, param2:KeyData, param3:Boolean = false, param4:Boolean = false)
        {
            super(param1, param3, param4);
            this._keyData = param2;
            return;
        }// end function

        public function get keyData() : KeyData
        {
            return this._keyData;
        }// end function

    }
}
